#ifndef SYNCED_CURRENT_MISSION_H_
#define SYNCED_CURRENT_MISSION_H_

#include <boost/thread/mutex.hpp>
#include <libplayerinterface/player.h>

using boost::mutex;

class SyncedCurrentMission {
private:
  mutex mutex_;
  bool accomplished_;
  player_pose2d current_mission_;
public:
  SyncedCurrentMission();
  bool accomplished();
  void set_accomplished(bool accomplished);
  void set_current_mission(const player_pose2d &current_mission);
  player_pose2d current_mission();
  player_point_2d current_mission_position();
};

#endif
